package com.resou.reader.bookstore.freeandfinish;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.resou.reader.api.entry.FinishedBookBean;
import com.resou.reader.base.BasePresenter;
import com.resou.reader.base.BaseView;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;

import java.util.List;

/**
 * 完结页契约类
 */
public interface FinishBookContract {

    interface IFinishBookView extends BaseView {
        void showDataList(List<FinishedBookBean.BooksBean> booksBeans);

        String getType();

        BaseQuickAdapter getAdapter();

        SmartRefreshLayout getSmartRefreshLayout();
    }

    interface IFinishBookPresenter extends BasePresenter {

        /**
         * 查询完结页数据
         *
         * @param page
         */
        void quearFinishDataList(int page);
    }
}
